<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0" />
		<title></title>
		<link rel="stylesheet" href="../css/bootstrap.css" />
	</head>
	<style>
		.carousel-inner .item h1{
			color:#25aa25;
		}
		.carousel-inner .item p{
			color:#000;
		}
		
	</style>
	<body>
		
		<div class="container">
			<div id="carousel-example-generic" class="carousel slide" data-wrap="true" data-ride="carousel"
>
			  <!-- Indicators -->
			  <ol class="carousel-indicators">
			    <li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
			    <li data-target="#carousel-example-generic" data-slide-to="1"></li>
			    <li data-target="#carousel-example-generic" data-slide-to="2"></li>
			  </ol>
			
			  <!-- Wrapper for slides -->
			  <div class="carousel-inner" role="listbox">
			    <div class="item active">
			      <img src="banner1.jpg" alt="...">
			      <div class="carousel-caption">
						<h1>途欢黄金体验</h1>
						<p>认识路途 与健康同行 畅快体验</p>
			      </div>
			    </div>
			    <div class="item">
			      <img src="banner2.jpg" alt="...">
			      <div class="carousel-caption">
					<h1>途欢黄金体验</h1>
					<p>认识路途 与健康同行 畅快体验</p>
			      </div>
			    </div>
			    ...
			  </div>
			
			  <!-- Controls -->
			  <a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
			    <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
			    <span class="sr-only">Previous</span>
			  </a>
			  <a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next">
			    <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
			    <span class="sr-only">Next</span>
			  </a>
			</div>
			
			
		</div>
		<script src="../js/jquery-1.12.4.js"></script>
		<script src="../js/bootstrap.min.js"></script>
		<script>
			
			$('.carousel').carousel({
			  interval: 2000,
			  // keyboard:false;
			  pause:"hover";

			})
			$('#carousel-example-generic').on('slide.bs.carousel', function () {
			  // do something…''
			  console.log($(e.target).get(0))
			})
		</script>
	</body>
</html>
